package com.sumainfor.pc.cfo.dao;

import java.util.List;
import java.util.Map;

/**
 * @author Meng
 * @InterfaceName InvoiceMapper
 * @date 2019/4/28 16:14
 * @description: TODO
 */
public interface InvoiceMapper {

    /**
     * 查询租客已开发票的账单列表
     **/
    List<Map<String, Object>> listTenantHaveInvoiceBill(Map<String, Object> params);

    /**
     * 新增发票账单主表
     **/
    int insertInvoice(Map<String, Object> params);

    /**
     * 新增发票账单详表
     **/
    int insertInvoiceInfo(Map<String, Object> params);

    /**
     * 查询是否有重复的申请
     *
     * @param params
     * @return
     */
    int getInvoiceCount(Map<String, Object> params);

}
